package com.tenton.utils;

/**
 * @Date: 2020/12/21
 * @Author: Tenton
 * @Description: 常量类
 */
public class Constants {
    public final static String EMPLOYEE_SESSION = "employeeSession";
    public final static String ADMIN_SESSION = "adminSession";
    /**
     * 每页显示数据条数
     */
    public final static int PAGE_SIZE = 6;
    public final static String STOCK_NUM_LOW = "商品库存不足";
    public final static String STOCK_NUM_MUCH = "商品库存过多";
    public final static String COMMODITY_NOT_WELCOME = "商品不受欢迎";
    /**
     * 登录用户名
     */
    public final static String LOGIN_NAME = "name";
    /**
     * 相隔天数
     */
    public final static long APART_DAYS = 30;
    /**
     * 商品默认日销量
     */
    public final static int DAILY_SALE_NUM = 0;
    /**
     * 商品默认月销量
     */
    public final static int MONTH_SALE_NUM = 0;
    /**
     * 图像类型
     */
    public final static String POLY = "line";
    /**
     * Map存储时间KEY
     */
    public final static String TIME_KEY = "timeKey";
    /**
     * Map存储商品信息Key
     */
    public final static String COMMODITY_KEY = "commodity";
    /**
     * Map存储商品名称Key
     */
    public final static String NAME_KEY = "comName";
    /**
     * 每月最初一天
     */
    public final static int DAY_OF_MONTH_START = 1;
    /**
     * 每月最后一天
     */
    public final static int DAY_OF_MONTH_END = 0;
    /**
     *当前月末
     */
    public final static int MONTH = 1;
    /**
     * 当前月
     */
    public final static int CURRENT_MONTH = 0;

    /**
     * 上一月
     */
    public final static int LAST_MONTH = -1;
    /**
     * 每年二月
     */
    public final static String FEBRUARY = "02";
    /**
     * 每年四月
     */
    public final static String APRIL = "04";
    /**
     * 每年六月
     */
    public final static String JUNE = "06";
    /**
     * 每年九月
     */
    public final static String SEPTEMBER = "09";
    /**
     * 每年十一月
     */
    public final static String NOVEMBER = "11";
}
